package com.zj.bean;

import com.zj.constants.UserRoot;

import lombok.Data;
/**
 * 用户表,对应user
 * @author zj20160705
 *
 */
@Data
public class User {
	private String username;
	private String password;
	private String newPassword;//新密码(修改密码)
	private int root;
	private int menuId;//菜单权限id
	private String rootPhrase;//权限说明
	private String createTime;//注册时间
	private int isOnline;
	private int isDel;
	public String getRootPhrase(){
		rootPhrase = UserRoot.getPhrase(root);
		return rootPhrase;
	}
}
